projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da063a8
)
builder-tool: Fix handling of layout properties
author
Matthias Clasen
<mclasen@redhat.com>
Fri, 29 Nov 2019 13:47:35 +0000
(08:47 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Fri, 29 Nov 2019 13:47:35 +0000
(08:47 -0500)
We were not properly identifying layout properties
that need to be kept, causing GtkGrid left-attachment
to go missing in widget-factory.ui.
gtk/tools/gtk-builder-tool-simplify.c
patch
|
blob
|
history
diff --git
a/gtk/tools/gtk-builder-tool-simplify.c
b/gtk/tools/gtk-builder-tool-simplify.c
index dc6462882e23d12f5ff7cac6027a806985ac8fa8..03cb93110792a8663653392f2ceafd4ab8e10292 100644
(file)
--- a/
gtk/tools/gtk-builder-tool-simplify.c
+++ b/
gtk/tools/gtk-builder-tool-simplify.c
@@
-181,8
+181,8
@@
needs_explicit_setting (GParamSpec *pspec,
{ "GtkRadioButton", "draw-indicator", PROP_KIND_OBJECT },
{ "GtkWidget", "hexpand", PROP_KIND_OBJECT },
{ "GtkWidget", "vexpand", PROP_KIND_OBJECT },
- { "GtkGrid", "top-attach", PROP_KIND_LAYOUT },
- { "GtkGrid", "left-attach", PROP_KIND_LAYOUT },
+ { "GtkGrid
LayoutChild
", "top-attach", PROP_KIND_LAYOUT },
+ { "GtkGrid
LayoutChild
", "left-attach", PROP_KIND_LAYOUT },
};
gboolean found;
gint k;